package myJs.myPkg.highcharts

import myJs.myPkg.jsext._

import scala.scalajs.js

/**
 * Created by yz on 26/7/2021
 */
class Test {
  
  object Events extends EventsBuilder(noOpts)

  class EventsBuilder(val dict: OptMap) extends JSOptionBuilder[Events, EventsBuilder](new EventsBuilder(_)) {

    def enabled(v: Boolean) = jsOpt("enabled", v)

    def enableMouseWheelZoom(v: Boolean) = jsOpt("enableMouseWheelZoom", v)

  }

  trait Events extends js.Object {

  }

}
